package com.gzw.jackyweather.service;

/**
 * Created by JACKYGUO on 2017/1/12.
 * 下载状态的回调接口
 */

public interface DownLoadListener {

    //进度回调
    void onProgress(int progress, long download, long total);

    //成功回调
    void onSuccess();

    //失败回调
    void onFailed();

    //暂停回调
    void onPaused();

    //取消回调
    void onCanceled();
}
